package com.qdu.entity;

import java.util.Date;

/**
 *
 * @author Ice
 */
public class Comment {

    private int Cid;
    private int id;
    private String MBID;
    private String contents;
    private Date time;
    private float Rating;

    public Comment() {
    }

    public Comment(int Cid, float Rating) {
        this.Cid = Cid;
        this.Rating = Rating;
    }

    
    public Comment(int id, String MBID, String contents, Date time, float Rating) {
        this.id = id;
        this.MBID = MBID;
        this.contents = contents;
        this.time = time;
        this.Rating = Rating;
    }
    
    
    public Comment(int Cid, int id, String MBID, String contents, Date time, float Rating) {
        this.Cid = Cid;
        this.id = id;
        this.MBID = MBID;
        this.contents = contents;
        this.time = time;
        this.Rating = Rating;
    }

    public int getCid() {
        return Cid;
    }

    public void setCid(int Cid) {
        this.Cid = Cid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getMBID() {
        return MBID;
    }

    public void setMBID(String MBID) {
        this.MBID = MBID;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public float getRating() {
        return Rating;
    }

    public void setRating(float Rating) {
        this.Rating = Rating;
    }

}
